package com.mhl.entity;

public class Comment {
    String url;
    String name;
    String time;
    String content;

    //test
    int imageId;

    public Comment(String url, String name, String time, String content) {
        this.url = url;
        this.name = name;
        this.time = time;
        this.content = content;
    }

    public Comment(int imageId, String name, String time, String content) {
        this.imageId = imageId;
        this.name = name;
        this.time = time;
        this.content = content;
    }

    public Comment(){

    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public int getImageId() {
        return imageId;
    }

    public void setImageId(int imageId) {
        this.imageId = imageId;
    }
}
